package com.example.department.Entity;

import java.sql.Date;

//风采秀表
public class Fengcaixiu { //1外键
    private int fid;
    private int userid;
    private String fengcontent; //风采秀发布的内容
    private String fengpic; //风采秀照片
    private Date fengtime; //风采秀发布的时间
    private User user ; //外键用户

    public Fengcaixiu() {
    }

    public Fengcaixiu(int fid, int userid, String fengcontent, String fengpic, Date fengtime, User user) {
        this.fid = fid;
        this.userid = userid;
        this.fengcontent = fengcontent;
        this.fengpic = fengpic;
        this.fengtime = fengtime;
        this.user = user;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getFengcontent() {
        return fengcontent;
    }

    public void setFengcontent(String fengcontent) {
        this.fengcontent = fengcontent;
    }

    public String getFengpic() {
        return fengpic;
    }

    public void setFengpic(String fengpic) {
        this.fengpic = fengpic;
    }

    public Date getFengtime() {
        return fengtime;
    }

    public void setFengtime(Date fengtime) {
        this.fengtime = fengtime;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
